package com.mz.mattress.admin.service;

import com.mz.mattress.admin.api.req.BlackSaveReq;
import com.mz.mattress.admin.api.resp.SaveDeviceResp;
import com.mz.mattress.api.common.Result;
import com.mz.mattress.api.entity.BlackItem;

import java.util.Set;

public interface BlackItemService {

    Result<BlackItem> getById(Integer id);

    Result add(BlackItem item);

    Result<SaveDeviceResp> save(BlackSaveReq req);

    Result updateById(BlackItem item);

    Result deleteByIds(Set<Integer> ids);

}
